readme updated
function doc updated