rechanged resolution calculation...