remove unused function

it wasn't very good anyway