working on connection manupulation