Added size check to results