Remove some repeating code

removed some stuff that kept repeating and is not in Program_takeoff