added connection table for motors