[+] setup basic datasource and delegate functions