I just started a new project and thought this kind of code may be helpful to learn from.