refine markdown objects + added functions to header