added coordinates to debug output