change from absolute to relative gradient testing