Add pause logical