converting some erbs to hamls