Now working with several windows