added make-coords-list function