removed unneccesary function prototypes