Added resolution argument