allows for data sources to be switched in primative format