make connect property optional