Added algorithmic stuff