it makes more sense this way and will make even more when NextWindow and PreviousWindow return pointer