Study: certain meds can impact selfishness, consideration