add read letter function