ripped this out to make it be able to be backed by non-sql data providers