finish function page