tried to fix the errors in the project-getting from the names, something's still wrong