added dependency on new gates