forgot to remove a thread.sleep