dummy algorithm