updated to send back coord on target found- working version