added delays like crazy