removed setting vars in class declaration