solve problem 35, 36
add the doc for the 36