adding another variable for setting the length of the section bar