core of the puzz libs