added __doc__ definition for functions, after testing, arg type coercion working