add formatting implementation