Updated to use ign apis