creating level selector