replace comment by extracting method