modified the way the data is accessed