correct crowl algorithm