remove unused while loop