extending get-component to accommodate typed vars