fix for 'function already exists' (issue #17)
Documetation update