hue: http function added