second. need improvements.
coord  type