add whichwrap setting