Add check ahead logic

Might still be a little broken as they never really change directions