Called function from main program
Corrected function.h