getComponent will return null if component not found