editing documentation and implementation #244