refreshed connection routines
changed