coding practice in project 4