removed unneeded function call