Groves_function