Inserting 'when' in  pause target in background