two nullsafe class