Updated levelSelector