added add member functionality