class to select level