added formatting function