adding sleep to Init