fixed formatting and updated examples