changed hierarch of instructions