bug: log::i needed in example to get references right