x7lib formatting