How to make variable publickly detectable