Added keygates to edges