add doc for mainDirection