Implemented all instructions