released 1.2

improved performance, rearranged and make more readability code