issue-6: remove unused function