added automatic workflow