The Cossacks experienced difficulties under Tsar Alexis as more refugees arrived daily. The Tsar gave the Cossacks a subsidy of food, money, and military supplies in return for acting as border defense. These subsidies fluctuated often; a source of conflict between the Cossacks and the government. The war with Poland diverted necessary food and military shipments to the Cossacks as fugitive peasants swelled the population of the Cossack host. The influx of refugees troubled the Cossacks, not only because of the increased demand for food, but also because their large number meant the Cossacks could not absorb them into their culture by way of the traditional apprenticeship. Instead of taking these steps for proper assimilation into Cossack society, the runaway peasants spontaneously declared themselves Cossacks and lived alongside the true Cossacks, laboring or working as barge-haulers to earn food.