changed wait time to 200ms
remove debuggings