changed gradient definitions to use .call()