Refactor: controller: remove extraneous function
unintentionally implemented twice under different names