refactoring userSpices method.