need to finish variable doc