removed useless function

removed it