some flow in solver