added functions and a project file