By the time my CVS receipt finished printing, I was eligible for another prescription refill.

By the time my CVS receipt finished printing, I was eligible for another prescription refill.
By the time my CVS receipt finished printing, I was eligible for another prescription refill.