Drop algorithm implemented

but not thoroughly tested yet...