linting
removed duplicate call to colors in favor of a template method