fixed the bug with replacing functions instead of overloading the,. updated documenta...