variable wrapper now allows to get and set integers and booleans