complete debugging, functions recover~