adding functionality for sub_heading