added a level selector