use curly brackets in populate_record only of target type is an array