added exception for write access