initial implementation of class methods