How did Peabody and Sherman travel through time ?

What kind of thing would answer this question?
description