updated slides with algo details