adding the ability to manually set a reference resolution