rearrange wait statement one line up