extract knave framework