Add hamm solution