add defines for window resolution
--amend