- Added documentation and applied arthur's patch