integrated entire HIT code into web interface