When conditioning, use nub to remove duplicates.
Fix naming convention.