added optional to an old bootstrap class extend