add function of initial sync with arm