unused function removed.