used prototypes for creating classes