delete comment and unused function