fixed code. Now printing Strings