added file for inserting new function + modified class files.