remove unused function.