linear and gc method