document procedure