Add recovery and empty functions