if gof is onto then g is onto