add selector property to component