Updated isFreePath