added gradients/fixed linting errors