managing pain costs