use decaf print_int function instead of fprintf