include cstdio for printf in SharedUtil