Changed code and document