Trying to get read only functions to work