removed unneccessary function call