clean up code

add two new types of operation