Not sure this extra var is necessary.