added code explanation in documentation
added code explanation in documentation
solved conflicts