updated string comparison method for project