Extracted methods from Runner to make it more readable