adding row numbers for law maps