added htol.c