add calculate regular flow