init
connected with remote