improve qml example