abstracted out coords in favor of indexes