moved operation enum to common.h