This function doesn't actually have to be defined at the top of the file, so would you mind moving it to the bottom?