return undefined to prevent unnecessary collection of values into array