adding initial map functionality