added electric-gate controlling buttons