updated example to be nicer, after reading other answers on tex.SE