remove sleeping code & using  scheduleWithFixedDelay