Lungs function in a frog