finish function add author