How to setup an operation and excute?