added coordinate with unit tests