Add 2d example