recovery
removed dupliacate code