removed blank spaces and sleep commands