removed undused function