Added a case where two elements are generated