Added some documenting comments