Got confused between datasource and datasource model, call the right functions now