removed extraneous function

removed extranous function