modified hw30a.zsh for wait, hw30a_c.zsh obsolete