Algorithm trap