added private to levelgenerator