rough start of htap implementation