added gpass generation