Making changes because I have a problem with storing data to a list.