added in correct path finding