added maps functionality