added to algo