Still trying to correctly implement the function add_project