moved common code otu of step01