just a setup to reduce the amount of instructions. but i am not sure how closer i can get to min instructions.