got api to map working