breadcrumbs and states functional