finish third function page