set summaries

set summaries for the functions