HAMM problem solved