Added functionality for multiple items