changed algorithms and display tags