changed to parallel flows