reformat code indent.
improve performance.
partiton key is now available.