added gradient