Properly nested hamls