added class methods for practice