sorted all logic inside pool manager api facade.