added code quality from code climate