add ion, remove static code and inefficient task