refactor package op to operaton