tweaked http interface