how to avoid amputation