Ported decision-making to Processing