added applyAlterations method to palette