added route to algo