fixed return
added target array return
added drawVector