fixed: function doc did not have the correct return type
fixed function doc style