Removed hard-coded values for resolution