fingNearTarget

add findNearTarget function
fix timePassed
edit TODO