Contextualize Algorithm