Dealing with bankruptcy effectively