removed unneeded fields, added documentation