added generic versions of the data access methods