add doc, rename moveSetDirection to moveOneDirection