writing html result