add comment and remove unused function