Local understanding with global context