Basic h2 implementation