Put window call in module