reported false output on algorithm