modified compositeVO to accept all classes