Create a few funcs for my coursework