remove unused method and rewrite comment