Initial add data source function - not yet working