/nit spacing is a little funky in this function.