add params to pullit
fixed amber chain finding algorithm