formatted functions