Reworked presentation to be more general and motivated with education examples