add examples and multirecord fixes