big simplifications in addCommandsSeparations method