vector wanderer

used A.set to condense code