made the data and setting keys read only accessible