formatting and declaration with single-line functions