Formatter implementation