add some common operations