implemented new data accessor functions