from h to a output