set dataSource as instance vriable