changed wait