added vertical to diffopt setting