random map generation
comments and type declarations