allow proc as context value