Adjusted map interface so it can handle not only two tanks