coordinates now done on client script