intermediate state. need to write to the waitresses queue and write some better tests