Use consistent variable naming ({f,b}g_*)