remove unused method and add more comment