write summary