remove unnecessary private defun