trash and re-new to get rid of deprecation warnings