Part 2 done except for startTarget function