doc added - code cleaned