added for logic for mulitple items