store result in context