parsing of program sections now works