ERC configuration and some leftovers from earlier