adding gradient support for ff and others