gradian detection add