yet another reinventing the hath table lib