inlined showCallback