This is the code I have been working with.