Programming project 2 for DS730