Added till condition and variable sectionnames