each loop within each loop for users' intentions works