finish function part