Add suport for different resolutions