add a class LogicalFlow