nit: unused code