[Issue #91] add doOperation to window