Learning by seeking discomfort