added documentation comments