This is some of the code that I have created in the past.