addnewmember code trial