I'll change that up into a function