changed thx.core api