bugfix and extra example