creating new instance of key statement with existing text in the case of copy/paste