adding maps funcionality