Modeling context-dependence