basic workflow implemented.