move functions after main in develop
added function prototypes in develop