added character printing