* try to write test for 2 input with nmix * one of incorrect version * add test for input old/new * refactoring and add comments * delete garbage * fix from vector variant to unordered_map * add comment * using to typedef