added documentation via yardoc