working on the tank class