This so far is the function that I am most proud of!