Merged utils with chris' bossman utils