Added a couple of pretty baby functions