Created basic functions in the classes