adding tank code