moved the connected call