made preferences for setting up the connection / not yet commented