Restart of math class