added formatting helper