add the variational example