add missing export
remove 'prime' to function name (was there for historical reason)
improve example
moved example
moved example, cont