added example for record
added example for record