Working except for compounding problem