I see. The reason behind using a hash instead of an array was because if someone were to borrow a book they would need to enter the title which was easier to access via hash instead of looping through the entire array to find a matching title. Wouldn't I need to pass in an object to have include? return true? Is there a shorter way to access a specific object in an array without using each?