Yes it need an algorithm