ab: more doc and some cosmetics
added format parameter support