example code for first part of project added