public function getCategoryByPkAndStoreId($pk, $storeId)
    {

        // load the category with the passed path
        if ($category = $this->categoryRepository->load($pk)) {
            // load the category's attribute values for the passed PK and store ID
            $attributes = $this->categoryAttributeAssembler->getCategoryAttributesByPrimaryKeyAndStoreIdExtendedWithAttributeCode($pk, $storeId);

            // assemble the category withe the attributes
            foreach ($attributes as $attribute) {
                $category[$attribute[MemberNames::ATTRIBUTE_CODE]] = $attribute[MemberNames::VALUE];
            }

            // return the category assembled with the values for the given store ID
            return $category;
        }
    }