added runtime analysis to section 1