saving progress

calculated edge functions