fixed: removed unused function