using only ionic