short circuit solution