Added a return value for drop collection function.