added for-loop to work on multible items