Only check for existing id's, use existing recursive function