remove printf
add missing include