errors in wait
Seems to be working now
Passed lab 18 and 19