compare and add reversely, read the condition clearly next time, don't waste your time