add more resolutions
refactored playTo code