attempting to print when a character is allocated