add subset method