Some full code that I'm working with