temporary.. is this the best way to use ApiCallback