task IO accounting: improve code readability