added flexibility analysis to ripit