nulls should not have been accepted here