added new h2 code