second version with prettier graphics.