refactoring for the crud generating check comments!