place methods in class