added set methods for variables