added docs and remove method