removing unnesessarry defun.