added 2 new files

functions created