added documentation (lol)