sub tank functionality