my version of print char is working