add remove workflow function