Adds breadcrumbs function