Let's make this a function.