changing name of model to readonly