cleaned up utils/g.java