changed thx.core API