Added more funciton prototypes