Hooked into main sdk