variational bugs and examples