cleaned up code for printing ice and programs by category