f VS g