Create component of subclass

yup awesome just what i needed as well.