added menthod for maps