additional nil checks needed