deleted unnecessary prototypes