Updated to write one letter at a time