Added external lib section.
reformat code