added lame while loop for docker