First attempt - connected paths