Finished the functionality for instructionFrame
fixed merg conflicts