prototype of resolution adjustment for testing.