Updated with new primo api