modify readme and add new function