revise the userguide and identation of the code
revise the userguide and identation of the code