Extracted Categories into a component