add window operation