Changed instruction loads to use load function