flexible drawTank() method