write an entry