transferred random map functions to levelreader