gr-ham: New formula