beware for empty record or record list