better implementation of @pause