added option tree feature