Re-defined the major workflow