Made an entire boat load of functions