added missing code documentation