the Log.d outputs should be deleted - I'm not sure if the additional sleeps are needed on Jenkins emulators?