finalized project code