add order plotting
add coputation of freak pairs