replace the deprecated Subset method with getData #113