More doc & added isLegalPosition