added constants (window widht, height)