improved tank example