flattened g a bit