changes for different resolutions