a version with direct connection without switches