split prog up. Does not work