adding reset and shutdown