updated interaction for maps and messages and removed console.logs