added controls for second tank