added getInfo to Component