Added algorithmic utils