adds hml mode