add target to give n random nodes