add which, trim, h2o.sample and documentation