add sleeping time for initialization