added a simple Programm/state code to Programm & State