added some documentation near the bottom of the file