change form to hamlc