add different resolutions support