user-defined window operator