added coordinates with unit tests