removed extra unneeded function