Added a function. Yay.