lot of changes. final readOnly session