added main workflow