added levelselector and working