removed g and h sets