Addition of discharge task