Context dependent learning