need to recurse, check each time the next link