add subset contructor
add subset method
docs for subset