added poles to string in res