Ingenuity and desperation are the best of friends.