fixed algorithm output