Added methods to add,remove, and resize the member array