resolution is now detected automatically