safe discharge process