gcj: some additions