more documentation for setCustomOptions