initialize and delete member array