Extracted instruction implementations into their own functions