Utilities Ready for Testing

Tried to get a bit cute with some of the switch statements, if it's no
good then use the lines I commented out, should work.