just an experiment; will use this later to allow resolution switching