Using unless and short circuit