changed history to prevent instruction limit