moved function prototypes from include folder to local files