minor changes to coord.py