added isNew method for record