add ionic some methods