work on http output