added slum batch functionality