Look for how this item is used and add some documentation to it.
Important parts are already commented and all used elements are self-explanatory.