modify the data structure of the tips, using an NSArray to contain them then output them by loop