remote main almost done.