Added object context to variable so will be set in view