This is weird because I don't have any warning. That's why I kept the code that way.