updated SDD with algorithms and finalized patterns