Some code for Project class