able to get the exact coordinates from the box