added header information for the subroutines and main