added class methods and class variables