removed sleep and logcat output