try to simplify the code, but failed