adding more logc to the program controlller to try to pull the program data model through to the main programme view