while doing something else