class flow