added breadcrumbs functionality only to the function