autoaccept: unused code