User-guide and example modified