Updated doc to include code