removed hardcoded resolution selection