[lib] formatting options