How do stomach and intestine work together