Either change this to use b and c or change the function to use f and g.