added a map api