start writing codes using position-feedback