convertToFormat methods