added initial map functionality