There’s logic behind your gut feeling