correct use of variable framework now inside reader