changed crumb logic