fixes #2, learned the meaning of the word wait