change instructions order