updated inputs for sample g