A simple utility to convert