adding short circuit