made the lines draw every 1/2 second instead