[REF] Assign context variables - more effective code