added record current pos