factorizing code for control analysis
adding control samples
adding extra requirements for control analysis box