posibble that everything is working for prog1 except branching