added getComponent