Added support for single expanded mode
Removed debug log
Update example.