working code on reaping