add h to the end of each line