changes to data prototype functions