getting a component by ID works