Testing out functions

Code works thus far.