adding new function that will find the ball/markers based on the
previous functions