unused function removed