create new memebers and remove unecessary code