modifeid to use read only