add basic Window operation