removed unecessary function reference