added mac formatter