Decided to throw in the object oriented version anyway