add check to memberModel