Implementation of formatting methods