added file headers and headers for every method