removing gradient example from code