should this be in the above if statement?  not harmful for it to be here but seems cleaner to put it above