learning from pain