required window when it was a param. duh