Removed end stuff for programs