use get_op functions, easier to do