making level select work