remove method allows object argument