fixing examples after protocol update