Structured the get_programs() method to return manageable data. Started refactoring the setp1() method to handle the changes