added done field to transactions