deleted useless function