What are the 2 jobs of a frog's small intestine?