add algorithm in background.md