a lot of things are working. Need to finish wait