optimal waiting on x

optimal waiting on x