trying to separateconnections from server class
connection was separated by server