Add a while(1) loop