redoing it for more connections