ion library, added and tested