2nd program in code project 1