document actor function