task to delete previous output added