moved the object caching to the glass context made no sense to have it in the construction args