added totalAmount return for SHUTDOWN message