modified files for functions