For jampack solution