added shutdown and transfer