pc connect logic