add 1 pure math soltion to solve the problem