code for creating procedure, project code and lab 5