added determination condition if target reached; default target to 30,30