Here are some snippets of code that can be used for reference on how to do other things:)