first version of H2_sim