added api support, parsing of coords