removed unneeded function