massive rewrite of instructions