hit writer and reader