Printing the correct lines for ele sets