Would you like to wrap this in a function?