Improve XDK example