added gateway spec