removed g stuff