Add pause function in evaluation mode